package JavaCore;

public class Data9 {
	String name;
	int g1,g2,g3,a;
	double tot;
	public Data9(String n,int a,int b,int c,int a1){
		
		this.name=n;
		this.g1=a;
		this.g2=b;
		this.g3=c;
		this.a=a1;
		tot=a+b+c;
		if(a1==1){
			tot=tot*1.1;
		}
	}
}
